﻿@model List<Common.Background.Models.LinkModel>
<div class="ContentList">
    <div class="ContentTag">
        <ul class="lhr_teacherCenterTag" style="top: 7px;">
            @for (int i = 0; i < Model.Count; i++)
            {

                if (string.IsNullOrEmpty(Request.Url.Query) && i == 0)
                {           
                <li class="cur" style="cursor: none;"><a href="@Model[i].LinkUrl">@Model[i].LinkName</a></li>
                }
                else
                {
                    if (Request.RawUrl == Model[i].LinkUrl)
                    {
                <li class="cur" style="cursor: none;"><a href="@Model[i].LinkUrl">@Model[i].LinkName</a></li>
                    }
                    else
                    {
                <li class="gray" style="cursor: none;"><a href="@Model[i].LinkUrl">@Model[i].LinkName</a></li>
                    }
                }
            }
        </ul>
    </div>
</div>
